$OpenBSD: patch-device_gamepad_gamepad_provider_cc,v 1.4 2017/03/14 12:18:54 robert Exp $
--- device/gamepad/gamepad_provider.cc.orig.port	Thu Mar  9 21:04:33 2017
+++ device/gamepad/gamepad_provider.cc	Fri Mar 10 07:46:24 2017
@@ -153,7 +153,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
     monitor->AddDevicesChangedObserver(this);
 
   polling_thread_.reset(new base::Thread("Gamepad polling thread"));
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // On Linux, the data fetcher needs to watch file descriptors, so the message
   // loop needs to be a libevent loop.
   const base::MessageLoop::Type kMessageLoopType = base::MessageLoop::TYPE_IO;
